package com.carAnalysisAdmin.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.carAnalysisAdmin.common.annotation.Excel;
import com.carAnalysisAdmin.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 楼层管理对象 sys_park_floor
 * 
 * @author ruoyi
 * @date 2024-04-14
 */
public class SysParkFloor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼层编号 */
    private Long id;

    /** 楼层 */
    @Excel(name = "楼层")
    private String name;

    /** 楼层描述 */
    @Excel(name = "楼层描述")
    private String nameDesc;

    /** 可用状态 */
    @Excel(name = "可用状态")
    private String isLock;

    /** 停车位数量 */
    @Excel(name = "可用状态")
    private int spotNum;
    /** 创建人 */
//    @Excel(name = "创建人")
    private String createBy;
    /** 创建时间 */
//    @Excel(name = "创建时间")
    private Date createTime;
    /** 更新人 */
//    @Excel(name = "更新人")
    private String updateBy;
    /** 更新时间 */
//    @Excel(name = "更新时间")
    private Date updateTime;
    private Integer sort;
    private List<SysParkSpot> sysParkSpotList;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<SysParkSpot> getSysParkSpotList() {
        return sysParkSpotList;
    }

    public void setSysParkSpotList(List<SysParkSpot> sysParkSpotList) {
        this.sysParkSpotList = sysParkSpotList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNameDesc(String nameDesc) 
    {
        this.nameDesc = nameDesc;
    }

    public String getNameDesc() 
    {
        return nameDesc;
    }
    public void setIsLock(String isLock) 
    {
        this.isLock = isLock;
    }

    public String getIsLock() 
    {
        return isLock;
    }

    public int getSpotNum() {
        return spotNum;
    }

    public void setSpotNum(int spotNum) {
        this.spotNum = spotNum;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nameDesc", getNameDesc())
            .append("isLock", getIsLock())
            .append("spotNum", getSpotNum())
            .append("sort", getSort())
            .toString();
    }
}
